//
//  DDDetailsDescriptionView.h
//  Dingdong
//
//  Created by 程强 on 16/12/9.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DDDetailsCommentView.h"

typedef NS_ENUM(NSInteger, ShowDetailsType) {
    ShowDetailsTypeDescription = 0,
    ShowDetailsTypeComment,
};

@class DDDetailsDescriptionView;

@protocol DDDetailsDescriptionViewDelegate <NSObject>
- (void)descriptionView:(DDDetailsDescriptionView *)view refreshComment:(DingDongCommentType)type;
@end

@interface DDDetailsDescriptionView : UIView
@property (assign, nonatomic) id <DDDetailsDescriptionViewDelegate> delegate;
@property (assign, nonatomic) ShowDetailsType showType;
@property (strong, nonatomic) NSArray *commentAry;
@property (strong, nonatomic) NSString *goodsInfoUrl;
@end
